package com.acsior.hibernate.dao;

import static org.hibernate.criterion.Order.asc;

import org.hibernate.Criteria;

import com.acsior.dac.impl.hibernate.dao.HibernateDAO;
import com.acsior.ddfn.impl.hibernate.dao.NomElementDAO;
import com.acsior.hibernate.vo.NomCountryVO;

/**
 * DAO for {@link NomCountryVO}. Извлича държавите сортирани по азбучен ред на
 * латиница.
 * 
 * @author Г. Белев 22.08.2011
 */
public class NomCountryDAO extends NomElementDAO<NomCountryVO> {

	/**  */
	public NomCountryDAO() {
		super();
	}

	/** @see HibernateDAO#createCriteria() */
	@Override
	public Criteria createCriteria() {
		return super.createCriteria().addOrder(asc(DESCRIPTION));
	}
}
